package Work0513;

/**
 * 战斗机的信息
 * 
 * @author Y
 *
 */
public class Fighter extends Airplane {
	private int missileNum;

	public Fighter(String name, double weight, double flyHeight, int missileNum) {
		super(name, weight, flyHeight);
		this.missileNum = missileNum;
	}

	public void takeOff() {
		super.takeOff();
	}

	public void speedUp() {
		super.speedUp();
	}

	public void landing() {
		super.landing();
	}

	public void sendMissile() {
		System.out.println("发射导弹");

	}

	public void hover() {
		System.out.println("低空盘旋");

	}

	public void show() {
		super.show();
		System.out.println("导弹数:" + missileNum + "发");
	}

	public void showWay() {
		super.showWay();
		System.out.print("在飞行过程中");
		sendMissile();
		System.out.println("最后准备降落时");
		hover();
		System.out.println("结束了");
	}

}
